package com.example.qu_tao.entity;

import android.graphics.Bitmap;

public class Photo {
   // 对应数据库表的 img_id 字段
   private int imgId;
   // 对应数据库表的 goods_img_id 字段，关联商品 ID
   private int goodsImgId;
   int id;
   byte[] data;
   Bitmap bitmap;

   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   public byte[] getData() {
      return data;
   }

   public void setData(byte[] data) {
      this.data = data;
   }

   public Bitmap getBitmap() {
      return bitmap;
   }

   public void setBitmap(Bitmap bitmap) {
      this.bitmap = bitmap;
   }

   public int getGoodsImgId() {
      return goodsImgId;
   }

   public void setGoodsImgId(int goodsImgId) {
      this.goodsImgId = goodsImgId;
   }

   public int getImgId() {
      return imgId;
   }

   public void setImgId(int imgId) {
      this.imgId = imgId;
   }
}
